package com.wanmait.demo.mapper;

import com.wanmait.demo.pojo.Address;

import java.util.List;

public interface AddressMapper {




    //    zjj
    void updateDefaultAddress(Integer userinfo);
    void zjjupdateByPrimaryKeySelective (Address address);
    void deleteOneAddress(Address address);
    Integer queryExistAddress (Integer userinfoId);
    int insertOneAddress(Address record);
    List<Address> selectListByUserid(Integer userid);




    void insertorderaddress(Integer userid, Integer dizhi, Integer addressid, String addressinfo);//添加订单的地址

    Integer selectmaxaddressid(Integer userid); //尹山坤

    void updateuseraddressid(Integer id);//尹山坤

    void deleteotheraddressid(Integer userid);//尹山坤
}
